package com.zlf.sb.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlf.sb.demo.entity.McMembers;
import com.zlf.sb.demo.entity.UserJsonDataEntity;
import com.zlf.sb.demo.vo.CreditsRecordVO;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.cursor.Cursor;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;
@Scope("prototype")
@Repository
public interface McMembersMapper  extends BaseMapper<McMembers> {
    @Select("SELECT count(*) FROM user")
    Long getTotal2();

    Cursor<CreditsRecordVO> getCursorData();
}
